<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<script type="text/javascript" src="../../js/common/common.js"></script>
<link rel="stylesheet" type="text/css" href="../../css/global/public.css"/>
<link rel="stylesheet" type="text/css" href="../../css/choice-doctor.css"/>
<link rel="stylesheet" href="../../css/global/mui.css" />
<title>选择医生</title>
</head>
<body>
		<!--  数据列表 -->	
		<ul class="choice-doctorList showDataResult" id="doctorDataBody">
			<li>
	       		<label>
	           		<input type="hidden" id="payamount" />
					<input type="hidden" id="orderDetail" />
	           		<input type="radio" name="doctor"  class="raios" v="0" fee="0" />
					<span class="radio-style arrtes"  name="cks"></span>
					<div class="picture"><img src="../../images/select_logo@3x.png"/></div>
					<div class="info">
							系统指派医生
						<p>二级以上医院医生</p>
						<p>限20次对话</p>
					</div>
					<div class="choice">
						免费 
					</div>
				</label>
	        </li>
		<script type="text/template" id="doctorDataDiv">

			<% if (list && list.length) { 
            for(var tkey in list) {
           	    var  info = list[tkey]; 
           	    var imprice = info.imprice;
				if(imprice == null || imprice == 0) {
					imprice = "0.00";
					showPrice="免费";
				} else {
					showPrice="￥"+imprice.toFixed(2);
					imprice = imprice.toFixed(2);
				} 
				var skilful=info.skilful;
				if(skilful!=null && skilful.length>30){
				   skilful=skilful.substring(0,30)+"...";
				}
            %>
           
            <%
				if(!info.avatar){
				 	info.avatar="../../images/default-doctor.png";			
			 }
			%>
		    <li>
				<label>
					<input type="hidden" id="payamount" />
					<input type="hidden" id="orderDetail" />
					<input type="radio" name="doctor" v="<%=info.id%>" fee="<%=imprice%>" class="raios"  u="<%=info.realname%>" p="<%=info.hospitalName%>"/>
					<span class="radio-style" v="<%=info.id%>" fee="<%=imprice%>" u="<%=info.realname%>" p="<%=info.hospitalName%>"  name="cks"></span>
					<span class="best">顶级医院</span>
					<div class="picture" v="<%=info.id%>"><img src="<%=info.avatar%>"/></div>
					
					<p class="name"><%=info.realname%><b class="font2 doctortitle"><%=info.doctortitle%></b></p>
					<p class="school"><%=info.hospitalName%><b><%=info.deptName%></b></p>
					<div class="choice">
						<%=showPrice%><font><%=info.servicetimes%>人购买</font>
					</div>
				</label>
			</li> 
			<% }}else { %>
			<span>暂无数据</span>
			<%}%>
		</script>
	  </ul>
	<div class="choice-doctorSubmit">
		<button>提交(<label id="showBtn">0</label>)</button>
	</div>
</body>
</html>
<script type="text/javascript" src="../../js/lib/mui.min.js" ></script>
<script type="text/javascript" src="../../js/module/utilModule.js" ></script> 
<script type="text/javascript" src="../../js/common/config.js"></script>
<script type="text/javascript" src="../../js/lib/zepto.min.js" ></script>
<script type="text/javascript" src="../../js/lib/template.js" ></script>
<script type="text/javascript" src="../../js/common/common.js"></script>
<script type="text/javascript" src="../../js/module/choiceDoctorModule.js" ></script>
<script type="text/javascript" src="../../js/doctor/choice-doctor.js"></script>
<script type="text/javascript" src="../../js/module/orderPayModule.js" ></script>

